﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Castle.ActiveRecord;
using Castle.ActiveRecord.Queries;
using NHibernate.Criterion;
using System.Collections;

/// <summary>
/// Summary description for Tour
/// </summary>
namespace LIB
{
    [ActiveRecord("Newsletter")]
    public class Newsletter_Info : ActiveRecordBase<Newsletter_Info>
    {
        private int _id;
        private string _subject;
        private string _noidung;
        private DateTime _createDate;
        private string _chuthich;
        [PrimaryKey(PrimaryKeyType.Native)]
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }
        [Property]
        public string subject
        {
            get { return _subject; }
            set { _subject = value; }
        }
        [Property]
        public string noidung
        {
            get { return _noidung; }
            set { _noidung = value; }
        }
        [Property]
        public DateTime createDate
        {
            get { return _createDate; }
            set { _createDate = value; }
        }
        [Property]
        public string chuthich
        {
            get { return _chuthich; }
            set { _chuthich = value; }
        } 
    }
}
